<template>
    <van-cell>
        <h4
            :style="{
                'display': data.options.inline ? 'inline-block': 'block',
                'text-align': data.options.textAlign,
                'color': data.options.color,
                'font-size': data.options.fontSize,
                'font-weight': data.options.Weight,
                'margin-left': data.options.marginLeft,
                'margin-right': data.options.marginRight,
                'height': data.options.height,
                'line-height': data.options.lineHeight,}"
        >
            {{ data.options.defaultValueCName }}
        </h4>
    </van-cell>
</template>
<script>
export default {
    name: 'BaseTitle',
    props: {
        data: {
            type: Object
        }
    }
}
</script>
